package api

import (
	auto "beergo/app/check/auto/controller"
	"beergo/app/check/conf"
	"github.com/beego/beego/v2/server/web"
)

type FromTypeAdminController struct {
	auto.FromTypeController
}

func init() {
	web.Router(conf.UrlPrefix + "/FromType/:id", 		&FromTypeAdminController{}, "*:GetAction")
	web.Router(conf.UrlPrefix + "/FromType/info", 		&FromTypeAdminController{}, "*:InfoAction")
	web.Router(conf.UrlPrefix + "/FromType/scan", 		&FromTypeAdminController{}, "*:ScanAction")
	web.Router(conf.UrlPrefix + "/FromType/list", 	    &FromTypeAdminController{}, "*:ListAction")
	web.Router(conf.UrlPrefix + "/FromType/update", 	&FromTypeAdminController{}, "*:UpdateAction")
	web.Router(conf.UrlPrefix + "/FromType/create", 	&FromTypeAdminController{}, "*:CreateAction")
	web.Router(conf.UrlPrefix + "/FromType/copy", 	    &FromTypeAdminController{}, "*:CopyAction")
	web.Router(conf.UrlPrefix + "/FromType/edit", 	    &FromTypeAdminController{}, "*:EditAction")
	web.Router(conf.UrlPrefix + "/FromType/delete", 	&FromTypeAdminController{}, "*:DeleteAction")
	web.Router(conf.UrlPrefix + "/FromType/:id/:field", &FromTypeAdminController{}, "*:SonsAction")
	web.Router(conf.UrlPrefix + "/FromType/choice", &FromTypeAdminController{}, "*:ChoiceAction")
	web.Router(conf.UrlPrefix + "/FromType/category", &FromTypeAdminController{}, "*:CategoryAction")
}
//func (this *FromTypeAdminController) Prepare() {}
//func (this *FromTypeAdminController) ListAction() {}
//func (this *FromTypeAdminController) GetAction() {}
//func (this *FromTypeAdminController) InfoAction() {}
//func (this *FromTypeAdminController) ScanAction() {}
//func (this *FromTypeAdminController) CreateAction() {}
//func (this *FromTypeAdminController) UpdateAction() {}
//func (this *FromTypeAdminController) CopyAction() {}
//func (this *FromTypeAdminController) DeleteAction() {}
//func (this *FromTypeAdminController) EditAction() {}
//func (this *FromTypeAdminController) SonsAction() {}
//func (this *FromTypeAdminController) ChoiceAction() {}
//func (this *FromTypeAdminController) CategoryAction() {}
